package sdau.hjk.service;

import sdau.hjk.entity.User;

import java.util.List;

/**
 *@version 1.0
 *@author: huangjiakai
 *@create:2021−02-05 16:40
 *@className:com.hjk.service.IUserService
 *@description: TODO
 */
public interface IUserService {
    //查询用户
    public List<User> findAll();
    //保存用户信息
    public void saveUser(User user);
    //根据openid查询用户
    public User findByOpenid(String openid);
    //根据班级查询用户
    public List<User> findByGrade(String major,String grade);
    //根据专业查询用户
    public List<User> findByMajor(String major);
    //根据学号查询用户
    public User findById(Integer id);

}
